@charset "utf-8";

/*字体图标*/
@font-face {
    font-family: 'iconfont';
    src: url('../font/iconfont.eot');
    src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'),
    url('../font/iconfont.woff') format('woff'),
    url('../font/iconfont.ttf') format('truetype'),
    url('../font/iconfont.svg#iconfont') format('svg');
  }
  .iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
  }

body{
    background-color: #eeeeee;
}
header{
    background-color:#f4483e;
    display: flex;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    .back_away{
        a{
            width: 40px;
            height: 100%;
            display: block;
            color: #fff;
        }
    }
    .price_title{
        flex: 1;
    }
    .dowload{
        width: 40px;
        height: 100%;
        a{
            color: #fff;
            position: relative;
            height: 100%;
            display: block;
            span{
                font-size: .24rem;
                position: absolute;
                top: -6px;
                right: 20px;
            }
            p{
                width: 50px;
                font-size: .12rem;
                position: absolute;
                bottom: 3px;
                right: 10px;
                line-height: 1;
            }
        }
    }
}

/*tab栏*/
.goods-list{
    .goods-title{
        background-color: #fff;
        font-size: .14rem;
        overflow: hidden;
        .navList{
            list-style: none;
            display: flex;
            width: 155%;
            li{
               box-sizing: border-box;
               padding: 0 .15rem;
               line-height: 30px;
            //    &:hover a,&:focus a{
            //        color: #f4483e;
            //    }
               .active{
                   color: #f4483e;
               }
            }    
        }
    }
    .goods-content{     
        .details{
            display: flex;
            font-size: 14px;
            padding: 10px;
            box-sizing: border-box;
            margin: 5px 0;
            background-color: #fff;
            height: 150px;
            .good-img{
                flex: 1;
                a{
                    width: 100%;
                    height: 100%;
                    img{
                        width: 100%;
                        height: 100%;
                        margin: 0 auto;
                    }
                }
            }
            .right{
                flex: 2;
                color: #fc353a;
                position: relative;
                padding-left: 10px;
                .good-name{
                    color: #000;
                }
                .good-price{
                    font-size: .24rem;
                    margin: 10px 0;
                    i{
                        font-size: .16rem;
                    }
                    em{
                        font-size: .12rem;
                        margin: 0 5px;
                    }
                    del{
                        color: #666;
                        font-size: .12rem;
                        margin-left: 10px;
                    }
                }
                .good-quan{
                    // padding-top: 10px;
                    i{
                        width: 120px;
                        height: 16px;
                        line-height: 16px;
                        display: inline-block;
                        border-radius: 10px;
                        background-color: #ffb7b7;
                        float: left;
                        
                        em{
                            height: 100%;
                            border-radius: 10px;
                            float: left;
                            display: inline-block;
                            background-color: #fc353a;
                        }
                        span{
                            font-size: 12px;
                            float: left;
                        }
                    }
                    b{
                        font-size: 12px;
                        font-weight: normal;
                        margin-left:10px;
                        float: left;
                    }
                }
                .good-buy{
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                    position: absolute;
                    bottom: 5px;
                    left: 10px;
                    a:first-child{
                        border:1px dashed #fc353a;
                        padding: 3px;
                    }
                    a:nth-child(2){
                        background-color: #fc353a;
                        color: #fff;
                        border-radius: 5px;
                        padding: 3px;
                        margin-right: 10px;
                    }
                }
            } 
        }
       
    }
}

// 底部
footer {
    background-color: #efefef;
    .footer-top {
        ul {
            display: flex;
            li {
                height: 0.5rem;
                border-top: 1px solid #c9c9c9;
                border-bottom: 1px solid #c9c9c9;
                border-right: 1px solid #c9c9c9;
                text-align: center;
                line-height: 0.5rem;
            }
            li:first-child,
            li:nth-child(2) {
                width: 30%;
            }
            li:last-child {
                width: 40%;
                border-right: none;
            }
        }
    }
    .footer-footer {
        height: 1rem;
        .shouji {
            display: flex;
            justify-content: center;
            height: 0.5rem;
            padding-top: 0.2rem;
            a:first-child {
                color: red;
                padding-right: 0.04rem;
            }
            a:last-child {
                color: #737373;
            }
        }
        a {
            text-align: center;
            color: #737373;
        }
    }
}